package com.cet.juc;

import java.util.concurrent.ArrayBlockingQueue;

/**
 * @program: cet-practice
 * @description:
 * @author: 陈恩涛
 * @create: 2023-07-03 07:02
 **/
public class BlockQueueTest {
    public static void main(String[] args) {
        ArrayBlockingQueue<Integer> queue = new ArrayBlockingQueue<Integer>(5);

//        queue.put(1);
//        queue.take();
//
//        queue.add(1);
//        queue.remove();
//
//        queue.offer(1);
//        queue.poll();
//
//        queue.offer(1, 1, TimeUnit.SECONDS);


    }
}
